package com.atguigu.gmall.gmallsugar.service;

import com.atguigu.gmall.gmallsugar.bean.KeywordStats;
import com.atguigu.gmall.gmallsugar.mapper.KeywordMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lizhenchao@atguigu.cn
 * @Date 2021/8/10 9:22
 */
@Service
public class KeywordServiceImpl implements KeywordService{
    
    @Autowired
    KeywordMapper kw;
    @Override
    public List<KeywordStats> statsKeyword(int date, int limit) {
        return kw.statsKeyword(date, limit);
    }
    
}
